package com.finance.report.service;


import com.finance.framework.lang.Page;
import com.finance.framework.lang.PageResultBO;
import com.finance.report.bean.pojo.LogisticsData;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ILogisticsDataService{
    @Deprecated
    LogisticsData getByWaybillNum(Date finishDate, String waybillNum);
    LogisticsData getByWaybillNum(String tableName, String waybillNum);
    @Deprecated
    boolean add(LogisticsData logisticsData);

    //清除当前月的运单数据、拓展数据、错误日志
    boolean deleteByMonthDate(Date finishDate);

    LogisticsData update(LogisticsData logisticsData);

    String getDataTableName(Date signTime);
    String getDataTableName(String yyMM);

    List<LogisticsData> addressNameAcceptdayPostman(String addressConsignee, String nameConsignee, String postmanNo, Date acceptTime, String tableName);

    List<LogisticsData> addressNameSignday3Meta(String addressConsignee, String nameConsignee, Date signDay, String tableName);

    List<LogisticsData> getByBusinessCode(String businessCode, String tableName);

    List<LogisticsData> waybillNumSuffix(String waybillNum, String tableName);
 }
